export default {
    name: "index",
    computed:{
        getSex(){
            return this.$store.state.sex
        },
        getAge:{
            set(val){
                console.log(val);
                this.$store.commit('setAge', val);
            },
            get(){
                return this.$store.state.age;
            }
        }
    }
}